﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="WebRole1.login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <h1>Login</h1>
   
        <asp:Label ID="Label1" runat="server" ForeColor="Red" 
            Text="Login Fail! Check your email and password" Visible="False"></asp:Label>
   
    <br />
    <table>
    <tr>
    <td>
        Email:</td>
    <td>
        <asp:TextBox ID="TextBox1" runat="server" Width="205px"></asp:TextBox>
    </td>
    <td>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="TextBox1" ErrorMessage="* Required Field" 
            ForeColor="#FF3300"></asp:RequiredFieldValidator>
    </td>
    </tr>
     <tr>
    <td>
        Password:</td>
    <td>
        <asp:TextBox ID="TextBox2" runat="server" Width="204px" TextMode="Password"></asp:TextBox>
    </td>
    <td>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="TextBox2" ErrorMessage="* Required Field" ForeColor="Red"></asp:RequiredFieldValidator>
    </td>
    </tr>
     <tr>
    <td>
    </td>
    <td style="text-align: right">
        <asp:Button ID="Button1" runat="server" style="text-align: center" 
            Text="Submit" onclick="Button1_Click" Width="67px" />
    </td>
    <td>
    </td>
    </tr>
     </table>
    <br>
    <p>
        Click <a href="register.aspx">here </a>to register for an account now.</p>
    </br>
</asp:Content>
